// 字符串
let string:string = "abc";

// 数值
let num:number = 123;

// 布尔
let bool:boolean = false;

// 字符串数组
let strArr1:string[] = ["abc","bcd"];
let strArr2:Array<string> = ["bnm","aff"];

// 数值数组
let numArr:number[] = [1,2,3];

// 布尔数组
let boolArr:boolean[] = [true,true];

// 对象数组
let objArr:Object[] = [{title:"sdgd"},{name:"fdsgdfg"}];
console.log(objArr);